package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Accident;
import cn.wolfcode.crm.query.AccidentQueryObject;
import cn.wolfcode.crm.query.AccidentQueryObjectForGuaranteeBill;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @author 12900
 * @time 2018年6月19日下午12:48:40
 * @email 12900qq.com
 * @description
 */
public interface IAccidentService {
	
	void save(Accident entity);

	void update(Accident entity);

	void delete(long id);

	Accident get(long id);

	List<Accident> list();

	PageResult query(AccidentQueryObject qo);
	PageResult query1(AccidentQueryObject qo);
	PageResult query2(AccidentQueryObject qo);
	PageResult query3(AccidentQueryObject qo);

    void changeStatus(Long id);
	void changeStatus1(Long id);
	void changeStatus2(Long id);
	void changeStatus3(Long id);

	void changeStatus4(Long id);
	void changeStatus5(Long id);

	boolean hasCom(Long paramLong);


	List<Map<String, String>> selectForDuty(String duty);

	PageResult selectGuaranteeBillInfo(AccidentQueryObjectForGuaranteeBill qo);

}
